home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970104-19970326 / 000085_news@columbia.edu _Tue Jan 21 17:37:38 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30]) by watsun.cc.columbia.edu (8.8.3/8.8.3) with ESMTP id RAA00790 for <kermit.misc@watsun.cc.columbia.edu>; Tue, 21 Jan 1997 17:37:38 -0500 (EST)
  3. Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.8.3/8.8.3) id RAA10416 for kermit.misc@watsun; Tue, 21 Jan 1997 17:37:36 -0500 (EST)
  4. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  5. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Re: Serial communication
  8. Date: 21 Jan 1997 22:37:35 GMT
  9. Organization: Columbia University
  10. Lines: 43
  11. Message-ID: <5c3gff$qm5$1@apakabar.cc.columbia.edu>
  12. References: <32e53d50.2654345@news.nettuno.it>
  13. NNTP-Posting-Host: watsun.cc.columbia.edu
  14. Xref: news.columbia.edu comp.protocols.kermit.misc:6437
  15.  
  16. In article <32e53d50.2654345@news.nettuno.it>,
  17. Luca Biasotto <l.biasotto@tinet.it> wrote:
  18. :     The company I work for has just bought a simple 3-axes machine, used
  19. : for screwing and for dispensing glue and solder pastes. The programs are
  20. : kept in a PCMCIA that contains all the software. In order to solve the
  21. : problem of memory limitations, I wish to save the programs in a PC to be
  22. : connected to the RS-232 the machine is equipped with.
  23. :     
  24. :     The manual reports instructions about this operation, but it refers to
  25. : an optional (and expensive) memory kit made of another memory card, a serial
  26. : cable and the "software" (just plain DOS batch files, e.g. "copy com1: ..."
  27. : and so on).
  28. :     As I am totally new to serial communications, I would like to know if
  29. : the back up is possible also without this "kit", for example using Kermit or
  30. : Windows Terminal. In this case, what commands should I give to access the
  31. : various programs in the memory card?
  32. You need some way of forcing the device to "dump" its programs to the COM
  33. port.  I suspect they give you no way to do this unless you buy the extra
  34. stuff.
  35.  
  36. In any case, if you can make the device dump its programs, you can capture
  37. them with Kermit's LOG SESSION command.  The trick is knowing "when to stop";
  38. that is, when to close the log.
  39.  
  40. Of course the opposite problem is: what do you do with these captured programs
  41. once you have them on the PC?  If you want to load them back into your robot
  42. device, then the device must (again) be running some kind of program to read
  43. the bytes into the appropriate area of its memory, and then to jump to that
  44. location.  You can use Kermit's TRANSMIT command to send the program, but you
  45. still have the problem of how to let the device know when the transmission is
  46. finished.
  47.  
  48. And of course you also have the problem that LOG SESSION and TRANSMIT are not
  49. error-detecting and -correcting file transfer methods, and so corruption of
  50. the data is a real possibility.
  51.  
  52. It would be better if the device vendor implemented a protocol like Kermit
  53. for dumping and loading the programs.  Without an error-correcting protocol,
  54. I think you will have a lot of problems.
  55.  
  56. - Frank